using System;
using System.Collections;
using Slaks.DocumentSerialization.TermIdInfo;

namespace TestSvmRealTimePrediction
{

	public class TermId2TermIdInfoElement : DictionaryBase  
	{
		public TermIdInfoElement this[ long key ]  
		{
			get  
			{
				return( (TermIdInfoElement) Dictionary[key] );
			}
			set  
			{
				Dictionary[key] = value;
			}
		}

		public ICollection Keys  
		{
			get  
			{
				return( Dictionary.Keys );
			}
		}

		public ICollection Values  
		{
			get  
			{
				return( Dictionary.Values );
			}
		}

		public void Add( long key, TermIdInfoElement value )  
		{
			Dictionary.Add( key, value );
		}

		public bool Contains( long key )  
		{
			return( Dictionary.Contains( key ) );
		}

		public void Remove( long key )  
		{
			Dictionary.Remove( key );
		}

	}
}